﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CFSystem.JXC.IDAL;
using CFSystem.JXC.Model;

namespace CFSystem.JXC.BLL
{
    public class StorageInfoSearch
    {
            #region Fields
        private static readonly IStorageInfo dal = DALFactory.DataAccess.CreateStorageSearch();
        #endregion

        #region Constructors
        public StorageInfoSearch()
        {
        }
        #endregion

        #region Methods
        public IList<StorageInfo> GetAllStorageRecords()
        {
            return dal.GetAllStorageRecords();
        }

        public IList<StorageInfo> SearchStorageRecords(string strSearch)
        {
            return dal.SearchStorageRecords(strSearch);
        }
        #endregion
    }
}
